package DataStructures;

import java.util.ArrayList;
import java.util.LinkedList;

public  interface Tree<E> {



	
	public int getParent(int child);
	
	public E getLeftChild(int parent);
	public E getRightChild(int parent);
    public boolean isLeaf(int child);
    public E getRoot();
    public void setRoot(E parent);
    public boolean isLeftChlid(int child);
    public boolean isRightChild(int child);
    public void insertLeftChild(int parentIndex, E child);
    public void insertRightChild(int parentIndex, E child);
    public int getLevel(int index);
    public boolean isEmptyLevel(int levelIndex);

}
